<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aestate: aestate.ajson.sim.decoder.JSONDecoder Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aestate
   &#160;<span id="projectnumber">1.0.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceaestate.html">aestate</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1ajson.html">ajson</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1ajson_1_1sim.html">sim</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1ajson_1_1sim_1_1decoder.html">decoder</a></li><li class="navelem"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html">JSONDecoder</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">aestate.ajson.sim.decoder.JSONDecoder Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for aestate.ajson.sim.decoder.JSONDecoder:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder__inherit__graph.png" border="0" usemap="#aestate_8ajson_8sim_8decoder_8_j_s_o_n_decoder_inherit__map" alt="Inheritance graph"/></div>
<map name="aestate_8ajson_8sim_8decoder_8_j_s_o_n_decoder_inherit__map" id="aestate_8ajson_8sim_8decoder_8_j_s_o_n_decoder_inherit__map">
<area shape="rect" title=" " alt="" coords="5,131,203,413"/>
<area shape="rect" title=" " alt="" coords="73,5,135,83"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for aestate.ajson.sim.decoder.JSONDecoder:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder__coll__graph.png" border="0" usemap="#aestate_8ajson_8sim_8decoder_8_j_s_o_n_decoder_coll__map" alt="Collaboration graph"/></div>
<map name="aestate_8ajson_8sim_8decoder_8_j_s_o_n_decoder_coll__map" id="aestate_8ajson_8sim_8decoder_8_j_s_o_n_decoder_coll__map">
<area shape="rect" title=" " alt="" coords="5,131,203,413"/>
<area shape="rect" title=" " alt="" coords="73,5,135,83"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ab2a8ab579dfb018527b34ee3c087f06a"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#ab2a8ab579dfb018527b34ee3c087f06a">__init__</a> (self, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a58323fb90f959c2ff9ed9f0720dd5203">encoding</a>=None, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a3ff010ac2a2c2dd498f8242e4d194243">object_hook</a>=None, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#ae772585cfeefa13e0373b786315a8a63">parse_float</a>=None, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#abab27d361cc861ae64b1579a7317490e">parse_int</a>=None, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#ad26a6b9e3ed1ccc6887256b95b80e167">parse_constant</a>=None, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a21337420db7bdce457d8279dc3e37002">strict</a>=True, <a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a125ed0b67e00e1ce1abe97615fa234b0">object_pairs_hook</a>=None)</td></tr>
<tr class="separator:ab2a8ab579dfb018527b34ee3c087f06a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a358b8b91f6e37e59b4129bb2f04ddb88"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a358b8b91f6e37e59b4129bb2f04ddb88">decode</a> (self, s, _w=WHITESPACE.match, _PY3=PY3)</td></tr>
<tr class="separator:a358b8b91f6e37e59b4129bb2f04ddb88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f9838a18d395857717e60faf98db8d4"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a8f9838a18d395857717e60faf98db8d4">raw_decode</a> (self, s, idx=0, _w=WHITESPACE.match, _PY3=PY3)</td></tr>
<tr class="separator:a8f9838a18d395857717e60faf98db8d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a58323fb90f959c2ff9ed9f0720dd5203"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a58323fb90f959c2ff9ed9f0720dd5203">encoding</a></td></tr>
<tr class="separator:a58323fb90f959c2ff9ed9f0720dd5203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ff010ac2a2c2dd498f8242e4d194243"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a3ff010ac2a2c2dd498f8242e4d194243">object_hook</a></td></tr>
<tr class="separator:a3ff010ac2a2c2dd498f8242e4d194243"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a125ed0b67e00e1ce1abe97615fa234b0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a125ed0b67e00e1ce1abe97615fa234b0">object_pairs_hook</a></td></tr>
<tr class="separator:a125ed0b67e00e1ce1abe97615fa234b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae772585cfeefa13e0373b786315a8a63"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#ae772585cfeefa13e0373b786315a8a63">parse_float</a></td></tr>
<tr class="separator:ae772585cfeefa13e0373b786315a8a63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abab27d361cc861ae64b1579a7317490e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#abab27d361cc861ae64b1579a7317490e">parse_int</a></td></tr>
<tr class="separator:abab27d361cc861ae64b1579a7317490e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad26a6b9e3ed1ccc6887256b95b80e167"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#ad26a6b9e3ed1ccc6887256b95b80e167">parse_constant</a></td></tr>
<tr class="separator:ad26a6b9e3ed1ccc6887256b95b80e167"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21337420db7bdce457d8279dc3e37002"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a21337420db7bdce457d8279dc3e37002">strict</a></td></tr>
<tr class="separator:a21337420db7bdce457d8279dc3e37002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f670d49a6365d08b5d8667ebbf0a48"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a09f670d49a6365d08b5d8667ebbf0a48">parse_object</a></td></tr>
<tr class="separator:a09f670d49a6365d08b5d8667ebbf0a48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a363bf419f97d7619511713a2bc666950"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a363bf419f97d7619511713a2bc666950">parse_array</a></td></tr>
<tr class="separator:a363bf419f97d7619511713a2bc666950"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b36b6ad659d98db8dde08a70a345520"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a8b36b6ad659d98db8dde08a70a345520">parse_string</a></td></tr>
<tr class="separator:a8b36b6ad659d98db8dde08a70a345520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c8bc083015540b238ba5055786fc150"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a9c8bc083015540b238ba5055786fc150">memo</a></td></tr>
<tr class="separator:a9c8bc083015540b238ba5055786fc150"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08169b86ec0d33ef0677379c3d161b17"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a08169b86ec0d33ef0677379c3d161b17">scan_once</a></td></tr>
<tr class="separator:a08169b86ec0d33ef0677379c3d161b17"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><pre class="fragment">Simple JSON &lt;http://json.org&gt; decoder

Performs the following translations in decoding by default:

+---------------+-------------------+
| JSON          | Python            |
+===============+===================+
| object        | dict              |
+---------------+-------------------+
| array         | list              |
+---------------+-------------------+
| string        | str, unicode      |
+---------------+-------------------+
| number (int)  | int, long         |
+---------------+-------------------+
| number (real) | float             |
+---------------+-------------------+
| true          | True              |
+---------------+-------------------+
| false         | False             |
+---------------+-------------------+
| null          | None              |
+---------------+-------------------+

It also understands ``NaN``, ``Infinity``, and ``-Infinity`` as
their corresponding ``float`` values, which is outside the JSON spec.</pre> 
<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00281">281</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab2a8ab579dfb018527b34ee3c087f06a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2a8ab579dfb018527b34ee3c087f06a">&#9670;&nbsp;</a></span>__init__()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.ajson.sim.decoder.JSONDecoder.__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>encoding</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>object_hook</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>parse_float</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>parse_int</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>parse_constant</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>strict</em> = <code>True</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>object_pairs_hook</em> = <code>None</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">*encoding* 确定用于解释任何
:class:`str` 对象由此实例解码 (``'utf-8'`` by
默认）。它在解码 unicode 对象时不起作用。

请注意，目前只有作为 ASCII 超集的编码才有效，
其他编码的字符串应该作为 unicode 传入。

*object_hook*，如果指定，将使用每个的结果调用
解码后的 JSON 对象及其返回值将用于代替
给定:class:`dict`。这可用于提供自定义
反序列化（例如支持 JSON-RPC 类提示）。

*object_pairs_hook* 是一个可选函数，将被调用
使用有序的对列表解码任何对象文字的结果。
将使用 *object_pairs_hook* 的返回值代替
:class:`字典`。此功能可用于实现自定义解码器
依赖于键和值对解码的顺序（对于
例如，:func:`collections.OrderedDict` 会记住
插入）。如果还定义了 *object_hook*，则 *object_pairs_hook*
优先。

*parse_float*，如果指定，将使用每个的字符串调用
要解码的 JSON 浮点数。默认情况下，这相当于
``浮动（num_str）``。这可用于使用其他数据类型或解析器
对于 JSON 浮点数（例如 :class:`decimal.Decimal`）。

* parse_int *（如果指定）将使用每个字符串
要解码的 JSON int。默认情况下，这相当于
``int（num_str）``。这可用于使用其他数据类型或解析器
对于 JSON 整数（例如 :class:`float`）。

*parse_constant*，如果指定，将使用以下之一调用
以下字符串：“-Infinity”、“Infinity”、“NaN”。这
如果无效的JSON数字为，则可用于引发异常
遭遇。

*strict* 控制解析器在遇到
字符串中的无效控制字符。默认设置为
``True`` 表示未转义的控制字符是解析错误，如果
``False`` 那么字符串中将允许使用控制字符</pre> 
<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00311">311</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a358b8b91f6e37e59b4129bb2f04ddb88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a358b8b91f6e37e59b4129bb2f04ddb88">&#9670;&nbsp;</a></span>decode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.ajson.sim.decoder.JSONDecoder.decode </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>_w</em> = <code>WHITESPACE.match</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>_PY3</em> = <code>PY3</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">返回 ``s`` 的 Python 表示（一个 ``str`` 或 ``unicode``

包含 JSON 文档的实例）</pre> 
<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00372">372</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder_a358b8b91f6e37e59b4129bb2f04ddb88_cgraph.png" border="0" usemap="#classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder_a358b8b91f6e37e59b4129bb2f04ddb88_cgraph" alt=""/></div>
<map name="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder_a358b8b91f6e37e59b4129bb2f04ddb88_cgraph" id="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder_a358b8b91f6e37e59b4129bb2f04ddb88_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,203,47"/>
<area shape="rect" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a8f9838a18d395857717e60faf98db8d4" title=" " alt="" coords="251,5,448,47"/>
</map>
</div>

</div>
</div>
<a id="a8f9838a18d395857717e60faf98db8d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f9838a18d395857717e60faf98db8d4">&#9670;&nbsp;</a></span>raw_decode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.ajson.sim.decoder.JSONDecoder.raw_decode </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>idx</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>_w</em> = <code>WHITESPACE.match</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>_PY3</em> = <code>PY3</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment"> 从一个str或unicode解码一个 JSON 文档

 以 JSON 文档开头）并返回 Python 的 2 元组

 表示和 s 中文档结束的索引。

 可选地，``idx`` 可用于指定 ``s`` 中的偏移量

 这可用于从字符串解码 JSON 文档，该字符串可能
 最后有多余的数据。
</pre> 
<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00386">386</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder_a8f9838a18d395857717e60faf98db8d4_icgraph.png" border="0" usemap="#classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder_a8f9838a18d395857717e60faf98db8d4_icgraph" alt=""/></div>
<map name="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder_a8f9838a18d395857717e60faf98db8d4_icgraph" id="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder_a8f9838a18d395857717e60faf98db8d4_icgraph">
<area shape="rect" title=" " alt="" coords="251,5,448,47"/>
<area shape="rect" href="classaestate_1_1ajson_1_1sim_1_1decoder_1_1_j_s_o_n_decoder.html#a358b8b91f6e37e59b4129bb2f04ddb88" title=" " alt="" coords="5,5,203,47"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a58323fb90f959c2ff9ed9f0720dd5203"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58323fb90f959c2ff9ed9f0720dd5203">&#9670;&nbsp;</a></span>encoding</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.encoding</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00357">357</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="a9c8bc083015540b238ba5055786fc150"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c8bc083015540b238ba5055786fc150">&#9670;&nbsp;</a></span>memo</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.memo</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00367">367</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="a3ff010ac2a2c2dd498f8242e4d194243"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ff010ac2a2c2dd498f8242e4d194243">&#9670;&nbsp;</a></span>object_hook</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.object_hook</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00358">358</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="a125ed0b67e00e1ce1abe97615fa234b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a125ed0b67e00e1ce1abe97615fa234b0">&#9670;&nbsp;</a></span>object_pairs_hook</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.object_pairs_hook</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00359">359</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="a363bf419f97d7619511713a2bc666950"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a363bf419f97d7619511713a2bc666950">&#9670;&nbsp;</a></span>parse_array</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.parse_array</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00365">365</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="ad26a6b9e3ed1ccc6887256b95b80e167"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad26a6b9e3ed1ccc6887256b95b80e167">&#9670;&nbsp;</a></span>parse_constant</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.parse_constant</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00362">362</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="ae772585cfeefa13e0373b786315a8a63"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae772585cfeefa13e0373b786315a8a63">&#9670;&nbsp;</a></span>parse_float</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.parse_float</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00360">360</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="abab27d361cc861ae64b1579a7317490e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abab27d361cc861ae64b1579a7317490e">&#9670;&nbsp;</a></span>parse_int</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.parse_int</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00361">361</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="a09f670d49a6365d08b5d8667ebbf0a48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09f670d49a6365d08b5d8667ebbf0a48">&#9670;&nbsp;</a></span>parse_object</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.parse_object</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00364">364</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="a8b36b6ad659d98db8dde08a70a345520"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b36b6ad659d98db8dde08a70a345520">&#9670;&nbsp;</a></span>parse_string</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.parse_string</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00366">366</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="a08169b86ec0d33ef0677379c3d161b17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08169b86ec0d33ef0677379c3d161b17">&#9670;&nbsp;</a></span>scan_once</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.scan_once</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00368">368</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<a id="a21337420db7bdce457d8279dc3e37002"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21337420db7bdce457d8279dc3e37002">&#9670;&nbsp;</a></span>strict</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aestate.ajson.sim.decoder.JSONDecoder.strict</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="decoder_8py_source.html#l00363">363</a> of file <a class="el" href="decoder_8py_source.html">decoder.py</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>aestate/ajson/sim/<a class="el" href="decoder_8py_source.html">decoder.py</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
